package com.halflife.comeElectricity.member.merchant;

import com.halflife.framework.domain.BaseDomain;

/**
 * Created by zhaoyf on 2018/2/4.
 */
public class MerchantAddress extends BaseDomain {
    private Long merchantId;
    private String address;
    private AddressType addressType;
    private Integer ordinal;

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getOrdinal() {
        return ordinal;
    }

    public void setOrdinal(Integer ordinal) {
        this.ordinal = ordinal;
    }

    public AddressType getAddressType() {
        return addressType;
    }

    public void setAddressType(AddressType addressType) {
        this.addressType = addressType;
    }

    @Override
    public String toString() {
        return "MerchantAddress{" +
                "merchantId=" + merchantId +
                ", address='" + address + '\'' +
                ", ordinal=" + ordinal +
                '}';
    }
}
